<template>
    <div>
        <t1>显示</t1>
      
           
                <table class="table table-bordered">
                    <tbody>
                        <tr>
                            <td>会员名称</td>
                            <td>性别</td>
                            <td>年龄</td>
                            <td>头像</td>
                        </tr>
                        <tr v-for="item in data.list">
                        
                    </tr>
               </tbody>

                    
        </table>
    </div>
</template>

<script setup lang="ts">
import { ref, reactive, onMounted } from 'vue';
import axios from 'axios';
import moment from 'moment';
import { useRouter, useRoute } from 'vue-router';

const router = useRouter();
const route = useRoute();
let data = reactive({
    list: []

})
onMounted(() => {
   ShowHui(); 
})
const ShowHui = () => {
    axios({
        url: '/api/Hui/showhui',
        method: 'get',
        params: data, 
    }) 
    .then(res => {
        data.list = res.data.list;
       
    })
    .catch(err => {
        console.log(err);
    })
}

</script>

<style scoped>

</style>